package com.yunyao.common.dto;

import com.yunyao.common.dto.base.BaseDto;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @author xingjishuai
 * @date 2024-07-24
 */
@Data
public class MaterialCategoryDto extends BaseDto implements Serializable {
    private static final long serialVersionUID = -8743345031627562374L;
    /**
     * 父节点
     */
    @NotEmpty(message = "父节点不能为空")
    private String parentId;

    /**
     * 分类名称
     */
    private String categoryName;

}
